<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:error="http://apache.org/cocoon/error/2.1" version="1.0">
  
  <!-- 
  This stylesheet is called by the errorhandler. Distil the error message only.
  
  Authors: Jan Willem Boer <janwillem@jwenr.nl>
  -->
  
  <xsl:template match="error:message">
    <xsl:copy-of select="."/>
  </xsl:template>
    
  <!-- ignore everything else -->
  <xsl:template match="node()|@*">
    <xsl:apply-templates select="node()"/>
  </xsl:template>
  
</xsl:stylesheet>
